package com.stg.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.stg.bean.Message;
import com.stg.bean.Student;
@Repository
public interface StudentDao {

	public long createStudent(Student student);
	
	public Student findStudentById(String studentId);
	
	public List<Long> findAllAssnAttentionIdByStudentId(String StudentId);
	
	public List<Long> findAllAssnPendedIdByStudentId(String StudentId);
	
	public List<Long> findAllAssnPendingIdByStudentId(String StudentId);
	
	public void assnSignUp(String studentId,long assnId,long departmentId);
	
	public void assnAttention(String studentId,long assnId);

	public List<Message> studentMessageReceive(Long receiveId);
	
	public Message studentMessageDetail(int senderId,int receiverId,int id);
}
